package Leetcode;

public class Leetcode_264 {
    public static boolean squareIsWhite(String coordinates) {
        return ((coordinates.charAt(0) - 'a' + 1) + (coordinates.charAt(1) - '0')) % 2 == 1;
    }

    public static void main(String[] args) {
        String coordinates = "a1";
        System.out.println(squareIsWhite(coordinates));
    }
}
